//
//  FileUploadModel.h
//  MIS Cloud
//
//  Created by goldeney on 14-7-23.
//  Copyright (c) 2014年 goldeneye. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASIFormDataRequest.h"

@interface FileUploadModel : NSObject

@property(nonatomic, strong) NSString *fileName;
@property(nonatomic, strong) NSString *filePath;
@property(nonatomic, assign) long long fileSize;
@property(nonatomic, assign) long long sendSize;

@property(nonatomic, assign) NSUInteger sendState; //0、正在连接 1、上传成功 2、连接异常 3、连接失败
@property(nonatomic, strong) ASIFormDataRequest *request;

@property(nonatomic, strong) NSString *uploadResult; //上传结果
@property(nonatomic, strong) NSString *functionA; //js执行方法

- (NSDictionary*)getFileInfo;

@end
